package top.z.work.module.system.controller.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import top.z.work.framework.common.constant.DataStatus;

import java.time.LocalDateTime;

@Schema(description = "系统管理 - 用户数据 VO")
@Data
@Accessors(chain = true)
public class SystemUserVO {

    @Schema(description = "数据主键", example = "1234")
    private Long          identity;
    @Schema(description = "部门ID", example = "9527")
    private Long          deptId;
    @Schema(description = "登录账号", example = "test")
    private String        username;
    @Schema(description = "账号名称", example = "张三")
    private String        nickname;
    @Schema(description = "手机号", example = "13100000000")
    private String        mobile;
    @Schema(description = "状态", example = "test", implementation = DataStatus.class)
    private Integer       status;
    @Schema(description = "登录IP", example = "127.0.0.1")
    private String        loginIp;
    @Schema(description = "登录时间", example = "2099-12-31 23:59:59")
    private LocalDateTime loginTime;

}
